{% extends "base_generic.html" %}
{% block content %}
        <h1>Products</h1>
        <h2><a href="/admin/products//new/" class="add">Añadir product</a></h2>

        <table class="imgswithoutborders">
        {% for product in products %}
          <tr{% if song.hidden %} class="oculto" {% endif %}>
            <td><strong style="font-size: 120%">{{ product.name }}</strong>
            <td><a href="/{{ product.url }}">Public</a></td>
            <td><a href="/admin/products/{{ product.key }}/edit/">Editar</a></td>
            <td><a href="/admin/products/{{ product.key }}/delete/" onclick="if(confirm('¿Do you really want to delete {{ product.name }}?')){return true;}else{return false;}">Borrar</a></td>
          </tr>
        {% endfor %}
        </table>

{% endblock %}
